package com.dev.security.setting.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.dev.security.config.dao.BaseRepository;
import com.dev.security.setting.beans.UserSetting;
import com.dev.security.setting.beans.UserSettingId;

/**
 * @author 潜行的青衣
 * @see
 */
public interface UserSettingRepository extends BaseRepository<UserSetting, UserSettingId> {

	@Query("select us from UserSetting us where account_id=?1")
	public List<UserSetting> findAllByAccountId(String account_id);
	
}
